<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>Dimensionality reduction application</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<!-- html,4,subsubsections+ --> 
<meta name="src" content="CookBook.tex"> 
<meta name="date" content="2012-10-02 23:16:00"> 
<link rel="stylesheet" type="text/css" href="CookBook.css"> 
</head><body 
>
<!--l. 2381--><div class="crosslinks"><p class="noindent">[<a 
href="CookBooksu62.html" >next</a>] [<a 
href="#tailCookBooksu61.html">tail</a>] [<a 
href="CookBookse15.html#CookBooksu61.html" >up</a>] </p></div>
<h4 class="subsectionHead"><span class="titlemark">4.5.1    </span> <a 
 id="x85-3680004.5.1"></a>Dimensionality reduction application</h4>
<!--l. 2382--><p class="noindent" >Perform Dimension reduction of the input image.
<h5 class="subsubsectionHead"><a 
 id="x85-3690004.5.1"></a>Detailed description</h5>
<!--l. 2384--><p class="noindent" >Performs dimensionality reduction on input image. PCA,NA-PCA,MAF,ICA methods are available.
<h5 class="subsubsectionHead"><a 
 id="x85-3700004.5.1"></a>Parameters</h5>
<!--l. 2386--><p class="noindent" >This section describes in details the parameters available for this application. Table&#x00A0;<a 
href="#x85-37000127">4.27<!--tex4ht:ref: DimensionalityReduction_param_table --></a>, page&#x00A0;<a 
href="#x85-37000127">387<!--tex4ht:ref: DimensionalityReduction_param_table --></a>
presents a summary of these parameters and the parameters keys to be used in command-line and
programming languages. Application key is <span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-">DimensionalityReduction</span></span></span>. <div class="table">
                                                                            
                                                                            
<!--l. 2387--><p class="noindent" ><a 
 id="x85-37000127"></a><hr class="float"><div class="float" 
>
                                                                            
                                                                            
<div class="center" 
>
<!--l. 2388--><p class="noindent" >
<div class="tabular"> <table id="TBL-27" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-27-1g"><col 
id="TBL-27-1"></colgroup><colgroup id="TBL-27-2g"><col 
id="TBL-27-2"></colgroup><colgroup id="TBL-27-3g"><col 
id="TBL-27-3"></colgroup><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-1-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-1-1"  
class="td11"><!--l. 2392--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Parameter key</span>                                                </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-1-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Parameter type</span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-1-3"  
class="td11"><!--l. 2392--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Parameter description</span>                                    </td>
</tr><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-2-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-2-1"  
class="td11"><!--l. 2394--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">in</span></span></span>                                 </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-2-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Input image     </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-2-3"  
class="td11"><!--l. 2394--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Input Image</span>                                                   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-3-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-3-1"  
class="td11"><!--l. 2395--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">out</span></span></span>                                </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-3-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Output image  </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-3-3"  
class="td11"><!--l. 2395--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output Image</span>                                                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-4-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-4-1"  
class="td11"><!--l. 2396--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">rescale</span></span></span>                            </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-4-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Group              </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-4-3"  
class="td11"><!--l. 2396--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Rescale Output.</span>                                             </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-5-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-5-1"  
class="td11"><!--l. 2397--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">rescale.outmin</span></span></span>                     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-5-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Float                </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-5-3"  
class="td11"><!--l. 2397--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output min value</span>                                           </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-6-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-6-1"  
class="td11"><!--l. 2398--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">rescale.outmax</span></span></span>                     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-6-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Float                </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-6-3"  
class="td11"><!--l. 2398--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Output max value</span>                                          </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-7-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-7-1"  
class="td11"><!--l. 2399--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">outinv</span></span></span>                             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-7-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Output image  </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-7-3"  
class="td11"><!--l. 2399--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Inverse Output Image</span>                                    </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-8-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-8-1"  
class="td11"><!--l. 2400--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method</span></span></span>                             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-8-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Choices           </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-8-3"  
class="td11"><!--l. 2400--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Algorithm</span>                                                      </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-9-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-9-1"  
class="td11"><!--l. 2401--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method</span><span 
class="pcrr7tn-x-x-90">&#x00A0;pca</span></span></span>                         </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-9-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice             </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-9-3"  
class="td11"><!--l. 2401--><p class="noindent" ><span 
class="ptmr7t-x-x-90">PCA</span>                                                               </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-10-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-10-1"  
class="td11"><!--l. 2402--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method</span><span 
class="pcrr7tn-x-x-90">&#x00A0;napca</span></span></span>                       </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-10-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice             </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-10-3"  
class="td11"><!--l. 2402--><p class="noindent" ><span 
class="ptmr7t-x-x-90">NA-PCA</span>                                                        </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-11-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-11-1"  
class="td11"><!--l. 2403--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method</span><span 
class="pcrr7tn-x-x-90">&#x00A0;maf</span></span></span>                         </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-11-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice             </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-11-3"  
class="td11"><!--l. 2403--><p class="noindent" ><span 
class="ptmr7t-x-x-90">MAF</span>                                                              </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-12-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-12-1"  
class="td11"><!--l. 2404--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method</span><span 
class="pcrr7tn-x-x-90">&#x00A0;ica</span></span></span>                         </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-12-2"  
class="td11"><span 
class="ptmri7t-x-x-90">Choice             </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-12-3"  
class="td11"><!--l. 2404--><p class="noindent" ><span 
class="ptmr7t-x-x-90">ICA</span>                                                                </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-13-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-13-1"  
class="td11"><!--l. 2405--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method.napca.radiusx</span></span></span>               </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-13-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                    </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-13-3"  
class="td11"><!--l. 2405--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Set the x radius of the sliding window.</span>         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-14-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-14-1"  
class="td11"><!--l. 2406--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method.napca.radiusy</span></span></span>               </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-14-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                    </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-14-3"  
class="td11"><!--l. 2406--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Set the y radius of the sliding window.</span>         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-15-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-15-1"  
class="td11"><!--l. 2407--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method.ica.iter</span></span></span>                    </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-15-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                    </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-15-3"  
class="td11"><!--l. 2407--><p class="noindent" ><span 
class="ptmr7t-x-x-90">number of iterations</span>                                      </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-16-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-16-1"  
class="td11"><!--l. 2408--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">method.ica.mu</span></span></span>                      </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-16-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Float                </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-16-3"  
class="td11"><!--l. 2408--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Give the increment weight of W in [0, 1]</span>     </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-17-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-17-1"  
class="td11"><!--l. 2409--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">nbcomp</span></span></span>                             </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-17-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Int                    </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-17-3"  
class="td11"><!--l. 2409--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Number of Components.</span>                               </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-27-18-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-18-1"  
class="td11"><!--l. 2410--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span 
class="pcrr7tn-x-x-90">normalize</span></span></span>                          </td><td  style="white-space:nowrap; text-align:left;" id="TBL-27-18-2"  
class="td11"><span 
class="ptmr7t-x-x-90">Boolean           </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-27-18-3"  
class="td11"><!--l. 2410--><p class="noindent" ><span 
class="ptmr7t-x-x-90">Normalize.</span>                                                     </td>
</tr><tr 
class="hline"><td><hr></td><td><hr></td><td><hr></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-19-"><td  style="white-space:wrap; text-align:left;" id="TBL-27-19-1"  
class="td11">                                   </td></tr></table></div>
</div>
<br /> <div class="caption" 
><span class="id">Table&#x00A0;4.27: </span><span  
class="content">Parameters table for Dimensionality reduction application.</span></div><!--tex4ht:label?: x85-37000127 -->
                                                                            
                                                                            
</div><hr class="endfloat" />
</div>
<!--l. 2416--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3710004.5.1"></a><span 
class="ptmb7t-">Input Image</span></span>
The input image to apply dimensionality reduction.
<!--l. 2418--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3720004.5.1"></a><span 
class="ptmb7t-">Output Image</span></span>
output image. Components are ordered by decreasing eigenvalues.
<!--l. 2420--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3730004.5.1"></a><span 
class="ptmb7t-">Rescale Output.</span></span>
     <ul class="itemize1">
     <li class="itemize"><span 
class="ptmb7t-">Output min value:  </span>Minimum value of the output image.
     </li>
     <li class="itemize"><span 
class="ptmb7t-">Output max value:  </span>Maximum value of the output image.
     </li></ul>
<!--l. 2428--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3740004.5.1"></a> <span 
class="ptmb7t-">Inverse Output Image</span></span>
reconstruct output image.
<!--l. 2430--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3750004.5.1"></a><span 
class="ptmb7t-">Algorithm</span></span>
Selection of the reduction dimension method. Available choices are:
     <ul class="itemize1">
     <li class="itemize"><span 
class="ptmb7t-">PCA</span>: Principal Component Analysis.
     </li>
     <li class="itemize"><span 
class="ptmb7t-">NA-PCA</span>: Noise Adjusted Principal Component Analysis.
         <ul class="itemize2">
         <li class="itemize"><span 
class="ptmb7t-">Set the x radius of the sliding window.:</span>
         </li>
         <li class="itemize"><span 
class="ptmb7t-">Set the y radius of the sliding window.: </span></li></ul>
     </li>
     <li class="itemize"><span 
class="ptmb7t-">MAF</span>: Maximum Autocorrelation Factor.
                                                                            
                                                                            
     </li>
     <li class="itemize"><span 
class="ptmb7t-">ICA</span>: Independent Component Analysis.
         <ul class="itemize2">
         <li class="itemize"><span 
class="ptmb7t-">number of iterations :</span>
         </li>
         <li class="itemize"><span 
class="ptmb7t-">Give the increment weight of W in [0, 1]: </span></li></ul>
     </li></ul>
<!--l. 2447--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3760004.5.1"></a><span 
class="ptmb7t-">Number of Components.</span></span>
Number of relevant components kept. By default all components are kept.
<!--l. 2449--><p class="noindent" ><span class="paragraphHead"><a 
 id="x85-3770004.5.1"></a><span 
class="ptmb7t-">Normalize.</span></span>
center AND reduce data before Dimensionality reduction.
<!--l. 2452--><p class="noindent" >
<h5 class="subsubsectionHead"><a 
 id="x85-3780004.5.1"></a>Example</h5>
<!--l. 2453--><p class="noindent" >To run this example in command-line, use the following: <!--l. 2454-->
<div class="lstlisting" id="listing-54"><span class="label"><a 
 id="x85-378001r1"></a></span><span 
class="pcrr7tn-x-x-70">otbcli_DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrb7t-x-x-70">in</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">cupriteSubHsi</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">tif</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">FilterOutput</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">tif</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">-</span><span 
class="pcrr7tn-x-x-70">method</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">pca</span>
</div>
<!--l. 2457--><p class="noindent" >To run this example from Python, use the following code snippet: <!--l. 2458-->
<div class="lstlisting" id="listing-55"><span class="label"><a 
 id="x85-378002r1"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">!/</span><span 
class="pcrro7t-x-x-70">usr</span><span 
class="pcrro7t-x-x-70">/</span><span 
class="pcrro7t-x-x-70">bin</span><span 
class="pcrro7t-x-x-70">/</span><span 
class="pcrro7t-x-x-70">python</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378003r2"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378004r3"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">Import</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">otb</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">applications</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">package</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378005r4"></a></span><span 
class="pcrb7t-x-x-70">import</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">otbApplication</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378006r5"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378007r6"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">line</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">creates</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">an</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">instance</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">of</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">DimensionalityReduction</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378008r7"></a></span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">=</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">otbApplication</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">Registry</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">CreateApplication</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378009r8"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378010r9"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">lines</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">set</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">all</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">parameters</span><span 
class="pcrro7t-x-x-70">:</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378011r10"></a></span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">SetParameterString</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">in</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">,</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">cupriteSubHsi</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">tif</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378012r11"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378013r12"></a></span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">SetParameterString</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">out</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">,</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">FilterOutput</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">tif</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378014r13"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378015r14"></a></span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">SetParameterString</span><span 
class="pcrr7tn-x-x-70">(</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">method</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">,</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">pca</span><span 
class="pcrr7tn-x-x-70">"</span><span 
class="pcrr7tn-x-x-70">)</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378016r15"></a></span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378017r16"></a></span><span 
class="pcrro7t-x-x-70">#</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">The</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">following</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">line</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">execute</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">the</span><span 
class="pcrro7t-x-x-70">&#x00A0;</span><span 
class="pcrro7t-x-x-70">application</span><span 
class="pcrr7tn-x-x-70">&#x00A0;</span><br /><span class="label"><a 
 id="x85-378018r17"></a></span><span 
class="pcrr7tn-x-x-70">DimensionalityReduction</span><span 
class="pcrr7tn-x-x-70">.</span><span 
class="pcrr7tn-x-x-70">ExecuteAndWriteOutput</span><span 
class="pcrr7tn-x-x-70">()</span>
</div>
<!--l. 2477--><p class="noindent" >
<h5 class="subsubsectionHead"><a 
 id="x85-3790004.5.1"></a>Limitations</h5>
<!--l. 2478--><p class="noindent" >Though the inverse transform can be computed, this application only provides the forward transform for
now.
                                                                            
                                                                            
<h5 class="subsubsectionHead"><a 
 id="x85-3800004.5.1"></a>Authors</h5>
<!--l. 2480--><p class="noindent" >This application has been written by OTB-Team.
<h5 class="subsubsectionHead"><a 
 id="x85-3810004.5.1"></a>See also</h5>
<!--l. 2482--><p class="noindent" >These additional ressources can be useful for further information:
     <ul class="itemize1">
     <li class="itemize">&#8221;Kernel maximum autocorrelation factor and minimum noise fraction transformations,&#8221; IEEE
     Transactions on Image Processing, vol. 20, no. 3, pp. 612-624, (2011)</li></ul>
<!--l. 2486--><div class="crosslinks"><p class="noindent">[<a 
href="CookBooksu62.html" >next</a>] [<a 
href="CookBooksu61.html" >front</a>] [<a 
href="CookBookse15.html#CookBooksu61.html" >up</a>] </p></div>
<!--l. 2486--><p class="noindent" ><a 
 id="tailCookBooksu61.html"></a>  
 <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-7072990-1"); pageTracker._trackPageview(); } catch(err) {}</script></body></html> 
